package com.ocom.nettyxf.service;

import com.ocom.nettyxf.ropo.TcpServiceRopo;

/**
 * @Description: TODO
 * @Author: 朱晖
 * @Date: 2022/10/21
 **/
public interface XfService {

	//心跳
	byte[] heartbeat(TcpServiceRopo tcpServiceRopo) throws Exception;

	//参数更新 (0x0005)
	byte[] paramUpdate(TcpServiceRopo tcpServiceRopo) throws Exception;

	//参数更新结果通知
	byte[] paramUpdateResult(TcpServiceRopo tcpServiceRopo) throws Exception;

	//固件更新续传
	byte[] machUpdate(TcpServiceRopo tcpServiceRopo) throws Exception;

	//固件更新结果通知续传（0xdc00）
	byte[] machUpdateResult(TcpServiceRopo tcpServiceRopo) throws Exception;


	//4.11  ocom离线码秘钥更新（0x0010）
	byte[] secretUpdate(TcpServiceRopo tcpServiceRopo) throws Exception;

	//4.12  Ocom离线码秘钥更新结果通知（0x1010）
	byte[] secretUpdateResult(TcpServiceRopo tcpServiceRopo) throws Exception;

	//离线风控参数更新 (0x0011)
	byte[] fkParamUpdate(TcpServiceRopo tcpServiceRopo) throws Exception;

	//4.14 离线风控参数更新结果(0x1011)
	byte[] fkParamUpdateResult(TcpServiceRopo tcpServiceRopo) throws Exception;

	//4.15 白名单全量/增量更新（0x0012）
	byte[] whiteList(TcpServiceRopo tcpServiceRopo) throws Exception;

	//白名单全量/增量更新结果通知（0x1012）
	byte[] whiteListResult(TcpServiceRopo tcpServiceRopo) throws Exception;

}
